import java.util.Scanner;

public class MethodDemo14 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数字");
        int num = scanner.nextInt();
        isNum(num);
    }

    public static void isNum(int i) {
        if (i % 3 == 0 && i % 5 == 0) {
            System.out.println("能整除");
        } else {
            System.out.println("不能");
        }
    }
}
